#pragma once
#ifndef INPUTXBOXCONTROLLER_H
#define INPUTXBOXCONTROLLER_H

#include "Input.h"

//xinput
#include <XInput.h>


class CInputXBoxController: public CInput
{
private:

	XINPUT_STATE m_state;
public:
	enum 
	{
		leftStick=3,
		rightStick=7
	};
public:
	CInputXBoxController(void);
	~CInputXBoxController(void);

	bool initialise(const LPDIRECTINPUT8 diObject);
	bool initialiseActionMapping(Element root);
	bool getMovement();
	bool getLookAndTurn();
	void doUpdate(void);
};

#endif
